package com.shunda.ysdgj.manager.service.system;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shunda.ysdgj.model.dto.base.IdsDto;
import com.shunda.ysdgj.model.dto.system.LoginDto;
import com.shunda.ysdgj.model.dto.system.SysUserFindDto;
import com.shunda.ysdgj.model.entity.system.SysMenu;
import com.shunda.ysdgj.model.entity.system.SysUser;
import com.shunda.ysdgj.model.vo.system.LoginVo;

import java.util.List;

public interface SysUserService {
    public IPage<SysUser> findByPage(SysUserFindDto sysUserFindDto);
    public boolean add(SysUser sysUser);
    public boolean modify(SysUser sysUser);
    public boolean deleteByIds(IdsDto idsDto);
    public LoginVo login(LoginDto loginDto);
    public SysUser getUserInfo(String token);
    public List<SysMenu> getUserMenus(String token);
    public void logout(String token);
}
